package equipments.enumeration;

/**
 * Provides all the type of weapons "key" (according to the database) required 
 * to identify a weapon.
 * @author Baptiste Legrand & Benjamin Orman
 * @version 1.0
 */
public enum WeaponsType {
  one_h_dagger{public boolean isTwoHand(){return false;}},
  one_h_mace{public boolean isTwoHand(){return false;}},
  one_h_sword{public boolean isTwoHand(){return false;}},
  one_h_toolhoe{public boolean isTwoHand(){return false;}},
  two_h_book{public boolean isTwoHand(){return true;}},
  two_h_orb{public boolean isTwoHand(){return true;}},
  two_h_polearm{public boolean isTwoHand(){return true;}},
  two_h_staff{public boolean isTwoHand(){return true;}},
  two_h_sword{public boolean isTwoHand(){return true;}},
  two_h_toolpick{public boolean isTwoHand(){return true;}},
  two_h_toolrod{public boolean isTwoHand(){return true;}}
  ,bow{public boolean isTwoHand(){return true;}};
  
  /**
   * Return true if the WeaponsType require 2 hands, else false.
   * @return Bool - True if 2 hands, else false;
   */
  abstract public boolean isTwoHand();
}
